package org.jeecg.modules.ec.service.impl;

import org.jeecg.modules.ec.entity.EcEmergencyContact;
import org.jeecg.modules.ec.mapper.EcEmergencyContactMapper;
import org.jeecg.modules.ec.service.IEcEmergencyContactService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 紧急联系人（档案信息管理附表）
 * @Author: jeecg-boot
 * @Date:   2025-09-02
 * @Version: V1.0
 */
@Service
public class EcEmergencyContactServiceImpl extends ServiceImpl<EcEmergencyContactMapper, EcEmergencyContact> implements IEcEmergencyContactService {
	
	@Autowired
	private EcEmergencyContactMapper ecEmergencyContactMapper;
	
	@Override
	public List<EcEmergencyContact> selectByMainId(String mainId) {
		return ecEmergencyContactMapper.selectByMainId(mainId);
	}
}
